package com.unisal.java;

public class TVComandoLiga implements Comando{

	TV tv;

	public TVComandoLiga(TV tv) {

		this.tv = tv;
	}

	@Override
	public void execute() {
		tv.on();
	}

	@Override
	public void voltar() {
		tv.off();
		
	}

}
